<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1, user-scalable=no">
  <meta name="description" content="API docs for the decodeComponent method from the Uri class, for the Dart programming language.">
  <title>decodeComponent method - Uri class - dart:core library - Dart API</title>
  <!-- required because all the links are pseudo-absolute -->
  <base href="../..">

  <link href="https://fonts.googleapis.com/css?family=Source+Code+Pro:500,400i,400,300|Source+Sans+Pro:400,300,700" rel="stylesheet">
  <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
  <link rel="stylesheet" href="static-assets/github.css">
  <link rel="stylesheet" href="static-assets/styles.css">
  <link rel="icon" href="static-assets/favicon.png">
  <!-- header placeholder -->
</head>

<body>

<div id="overlay-under-drawer"></div>

<header id="title">
  <button id="sidenav-left-toggle" type="button">&nbsp;</button>
  <ol class="breadcrumbs gt-separated dark hidden-xs">
    <li><a href="index.html">flutter_form_builder</a></li>
    <li><a href="dart-core/dart-core-library.html">dart:core</a></li>
    <li><a href="dart-core/Uri-class.html">Uri</a></li>
    <li class="self-crumb">decodeComponent method</li>
  </ol>
  <div class="self-name">decodeComponent</div>
  <form class="search navbar-right" role="search">
    <input type="text" id="search-box" autocomplete="off" disabled class="form-control typeahead" placeholder="Loading search...">
  </form>
</header>

<main>

  <div id="dartdoc-sidebar-left" class="col-xs-6 col-sm-3 col-md-2 sidebar sidebar-offcanvas-left">
    <header id="header-search-sidebar" class="hidden-l">
      <form class="search-sidebar" role="search">
        <input type="text" id="search-sidebar" autocomplete="off" disabled class="form-control typeahead" placeholder="Loading search...">
      </form>
    </header>
    
    <ol class="breadcrumbs gt-separated dark hidden-l" id="sidebar-nav">
      <li><a href="index.html">flutter_form_builder</a></li>
      <li><a href="dart-core/dart-core-library.html">dart:core</a></li>
      <li><a href="dart-core/Uri-class.html">Uri</a></li>
      <li class="self-crumb">decodeComponent method</li>
    </ol>
    
    <h5>Uri class</h5>
    <ol>
    
        <li class="section-title"><a href="dart-core/Uri-class.html#constructors">Constructors</a></li>
        <li><a href="dart-core/Uri/Uri.html">Uri</a></li>
        <li><a href="dart-core/Uri/Uri.dataFromBytes.html">dataFromBytes</a></li>
        <li><a href="dart-core/Uri/Uri.dataFromString.html">dataFromString</a></li>
        <li><a href="dart-core/Uri/Uri.directory.html">directory</a></li>
        <li><a href="dart-core/Uri/Uri.file.html">file</a></li>
        <li><a href="dart-core/Uri/Uri.http.html">http</a></li>
        <li><a href="dart-core/Uri/Uri.https.html">https</a></li>
    
        <li class="section-title">
            <a href="dart-core/Uri-class.html#instance-properties">Properties</a>
        </li>
        <li><a href="dart-core/Uri/authority.html">authority</a></li>
        <li><a href="dart-core/Uri/data.html">data</a></li>
        <li><a href="dart-core/Uri/fragment.html">fragment</a></li>
        <li><a href="dart-core/Uri/hasAbsolutePath.html">hasAbsolutePath</a></li>
        <li><a href="dart-core/Uri/hasAuthority.html">hasAuthority</a></li>
        <li><a href="dart-core/Uri/hasEmptyPath.html">hasEmptyPath</a></li>
        <li><a href="dart-core/Uri/hasFragment.html">hasFragment</a></li>
        <li><a href="dart-core/Uri/hashCode.html">hashCode</a></li>
        <li><a href="dart-core/Uri/hasPort.html">hasPort</a></li>
        <li><a href="dart-core/Uri/hasQuery.html">hasQuery</a></li>
        <li><a href="dart-core/Uri/hasScheme.html">hasScheme</a></li>
        <li><a href="dart-core/Uri/host.html">host</a></li>
        <li><a href="dart-core/Uri/isAbsolute.html">isAbsolute</a></li>
        <li><a href="dart-core/Uri/origin.html">origin</a></li>
        <li><a href="dart-core/Uri/path.html">path</a></li>
        <li><a href="dart-core/Uri/pathSegments.html">pathSegments</a></li>
        <li><a href="dart-core/Uri/port.html">port</a></li>
        <li><a href="dart-core/Uri/query.html">query</a></li>
        <li><a href="dart-core/Uri/queryParameters.html">queryParameters</a></li>
        <li><a href="dart-core/Uri/queryParametersAll.html">queryParametersAll</a></li>
        <li><a href="dart-core/Uri/scheme.html">scheme</a></li>
        <li><a href="dart-core/Uri/userInfo.html">userInfo</a></li>
        <li class="inherited"><a href="dart-core/Object/runtimeType.html">runtimeType</a></li>
    
        <li class="section-title"><a href="dart-core/Uri-class.html#instance-methods">Methods</a></li>
        <li><a href="dart-core/Uri/isScheme.html">isScheme</a></li>
        <li><a href="dart-core/Uri/normalizePath.html">normalizePath</a></li>
        <li><a href="dart-core/Uri/removeFragment.html">removeFragment</a></li>
        <li><a href="dart-core/Uri/replace.html">replace</a></li>
        <li><a href="dart-core/Uri/resolve.html">resolve</a></li>
        <li><a href="dart-core/Uri/resolveUri.html">resolveUri</a></li>
        <li><a href="dart-core/Uri/toFilePath.html">toFilePath</a></li>
        <li><a href="dart-core/Uri/toString.html">toString</a></li>
        <li class="inherited"><a href="dart-core/Object/noSuchMethod.html">noSuchMethod</a></li>
    
        <li class="section-title"><a href="dart-core/Uri-class.html#operators">Operators</a></li>
        <li><a href="dart-core/Uri/operator_equals.html">operator ==</a></li>
    
        <li class="section-title"><a href="dart-core/Uri-class.html#static-properties">Static properties</a></li>
        <li><a href="dart-core/Uri/base.html">base</a></li>
    
        <li class="section-title"><a href="dart-core/Uri-class.html#static-methods">Static methods</a></li>
        <li><a href="dart-core/Uri/decodeComponent.html">decodeComponent</a></li>
        <li><a href="dart-core/Uri/decodeFull.html">decodeFull</a></li>
        <li><a href="dart-core/Uri/decodeQueryComponent.html">decodeQueryComponent</a></li>
        <li><a href="dart-core/Uri/encodeComponent.html">encodeComponent</a></li>
        <li><a href="dart-core/Uri/encodeFull.html">encodeFull</a></li>
        <li><a href="dart-core/Uri/encodeQueryComponent.html">encodeQueryComponent</a></li>
        <li><a href="dart-core/Uri/parse.html">parse</a></li>
        <li><a href="dart-core/Uri/parseIPv4Address.html">parseIPv4Address</a></li>
        <li><a href="dart-core/Uri/parseIPv6Address.html">parseIPv6Address</a></li>
        <li><a href="dart-core/Uri/splitQueryString.html">splitQueryString</a></li>
        <li><a href="dart-core/Uri/tryParse.html">tryParse</a></li>
    
    
    
    </ol>
  </div><!--/.sidebar-offcanvas-->

  <div id="dartdoc-main-content" class="col-xs-12 col-sm-9 col-md-8 main-content">
      <div><h1><span class="kind-method">decodeComponent</span> method</h1></div>

    <section class="multi-line-signature">
      <span class="returntype"><a href="dart-core/String-class.html">String</a></span>
            <span class="name ">decodeComponent</span>
(<wbr><span class="parameter" id="decodeComponent-param-encodedComponent"><span class="type-annotation"><a href="dart-core/String-class.html">String</a></span> <span class="parameter-name">encodedComponent</span></span>)
      
    </section>
    <section class="desc markdown">
      <p>Decodes the percent-encoding in <code>encodedComponent</code>.</p>
<p>Note that decoding a URI component might change its meaning as
some of the decoded characters could be characters with are
delimiters for a given URI component type. Always split a URI
component using the delimiters for the component before decoding
the individual parts.</p>
<p>For handling the <a href="dart-core/Uri/path.html">path</a> and <a href="dart-core/Uri/query.html">query</a> components consider using
<a href="dart-core/Uri/pathSegments.html">pathSegments</a> and <a href="dart-core/Uri/queryParameters.html">queryParameters</a> to get the separated and
decoded component.</p>
    </section>
    
    <section class="summary source-code" id="source">
      <h2><span>Implementation</span></h2>
      <pre class="language-dart"><code class="language-dart">static String decodeComponent(String encodedComponent) {
  return _Uri._uriDecode(
      encodedComponent, 0, encodedComponent.length, utf8, false);
}</code></pre>
    </section>

  </div> <!-- /.main-content -->

  <div id="dartdoc-sidebar-right" class="col-xs-6 col-sm-6 col-md-2 sidebar sidebar-offcanvas-right">
  </div><!--/.sidebar-offcanvas-->

</main>

<footer>
  <span class="no-break">
    flutter_form_builder
      3.8.2
  </span>

  <!-- footer-text placeholder -->
</footer>

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="static-assets/typeahead.bundle.min.js"></script>
<script src="static-assets/highlight.pack.js"></script>
<script src="static-assets/URI.js"></script>
<script src="static-assets/script.js"></script>
<!-- footer placeholder -->

</body>

</html>
